/** When your routing table is too long, you can split it into small modules**/

import { componentMap } from "./index";
import { RouterInterface } from "@/router/Interface/RouterInterface";

const Router: RouterInterface = {
  path: '/EnterpriseInformation',
  name: '企业信息',
  redirect: '/EnterpriseInformation/Management',
  component: componentMap["Layout"],
  order: 2,
  meta: {
    icon: 'el-icon-s-order',
    title: '企业信息'
  },
  children: [
    {
      path: 'Management',
      name: '企业信息管理',
      component: componentMap["Management"],
      meta: {
        icon: 'el-icon-s-data',
        title: '企业信息管理'
      },
      children: []
    },
    {
      path: 'ViewLook',
      name: '企业信息查看',
      component: componentMap["ViewLook"],
      meta: {
        icon: 'el-icon-s-data',
        title: '企业信息查看'
      },
      children: []
    },
    {
      path: 'Check',
      name: '考察信息管理',
      component: componentMap["Check"],
      meta: {
        icon: 'el-icon-s-data',
        title: '考察信息管理'
      },
      children: []
    },
  ]
};

export default Router;
